home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Code Resources / Jims CDEFs 1.50 / Documents / About building CDEFs next >
Encoding:
Text File  |  1995-10-27  |  3.8 KB  |  127 lines  |  [TEXT/KAHL]

  1. About building CDEFs
  2. --------------------------------------------------------------------------------
  3.  
  4. First, the important MUST DO stuff
  5.  
  6.     1. There are aliases used by the MPW and Symantec builds.
  7.         REDO these aliases!
  8.         
  9.     2. Open the Applescripts and re-check the syntax if you
  10.         want them to locate your project managers.
  11.  
  12.  
  13. --------------------------------------------------------------------------------
  14. Second the folder structure I use:
  15.  
  16. --------------------------------------------------------------------------------
  17. "CDEF Source" folder
  18.     - Think 7 projects & Applescripts
  19.     
  20.     - CW6 68K projects & Applescripts
  21.     - xDEF.mw68.rsrc     (CW6 68k builds)
  22.     
  23.     - CW6 PPC projects & Applescripts
  24.     - xDEF.mw.rsrc         (CW6 PPC builds)
  25.     
  26.     - "Source" folder
  27.         - all source for Jim's CDEFs
  28.         
  29.     - "Resources" folder
  30.         - xDEF.rsrc     (Think 7 builds)
  31.         
  32.     - "MPW" folder
  33.         - Makefile         (for MPW builds)
  34.         - cdefMPW.r     (Rez script for FAT CDEFs)
  35.         - "cdefMPW ƒ" folder
  36.             - "pef" folder
  37.             - "xcoff" folder
  38.             - "objects" folder
  39.             
  40.         - ALIAS to "Source" folder (you MUST redo this alias)
  41.         
  42.     - "Symantec" folder
  43.         - individual Symantec 8 projects & AppleScripts
  44.         - xDEF.FAT project    (for building all FAT CDEFs)
  45.         - xDEF.FAT.rsrc        (FAT CDEFs from xDEF.FAT project)
  46.         
  47.         - "ppc Projects" folder
  48.             - projects nested into xDEF.FAT project
  49.             - cdefUtil.xcoff
  50.             - ALIAS to "Source" folder         (you MUST redo this alias)
  51.             - ALIAS to "Resource" folder     (you MUST redo this alias)
  52.             
  53.         - "rez Scripts"     (for building FAT CDEFs)
  54.         
  55.         
  56. --------------------------------------------------------------------------------
  57. Building ThinkC 7 versions
  58. --------------------------
  59.  
  60. Simply drag & drop the project(s) on the "buildCDEFs" AppleScript.
  61.  
  62. CDEFs are merged into :Resources:xDEF.rsrc
  63.  
  64.  
  65. --------------------------------------------------------------------------------
  66. Building MetroWerks 68K versions
  67. --------------------------------
  68. Simply drag & drop the project(s) on the "buildCDEFs MW68K" AppleScript.
  69.  
  70. CDEFs are merged into :xDEF.mw68.rsrc
  71.  
  72. NOTE: Some of the variants of cdef3D (Rect, Gray etc.) use compile time switches.
  73. I normally set these in the "Prefix" options for the Symantec compilers.  This cannot
  74. be done with Metrowerks, so not all variants are built automatically.
  75.  
  76. --------------------------------------------------------------------------------
  77. Building MetroWerks PPC versions
  78. --------------------------------
  79. Simply drag & drop the project(s) on the "buildCDEFs MWppc" AppleScript.
  80.  
  81. CDEFs are merged into :xDEF.mw.rsrc
  82.  
  83. *** NOTE *** these are NOT FAT CDEFs, just PPC Native
  84.  
  85.  
  86. --------------------------------------------------------------------------------
  87. Building the MPW versions
  88. -------------------------
  89.  
  90. MakeFile has 2 targets "cdefMPW" and "cdefMPW/FAT", output files have
  91. ".rsrc" appended to the target.
  92.  
  93.  
  94. --------------------------------------------------------------------------------
  95. Building the FAT Symantec versions
  96. ----------------------------------
  97.  
  98. 1. Build the ThinkC 68k versions.
  99. 2. Open the "xDEF.FAT" project and simply update it - Cmd-U.  This will
  100.    update all the nested projects and run the Rez scripts to build the
  101.    FAT CDEFs into xDEF.FAT.rsrc.
  102.    
  103.    If you want the details on this, create a new project from the 
  104.    "Code Resource" template and read the documentation from Colen
  105.    in the source files.
  106.  
  107.  
  108. --------------------------------------------------------------------------------
  109.  
  110. If you are crazy enough to want to build all of these, it will require 
  111. 12+ Megs of disk space.  The breakdown is:
  112.  
  113. 1.3M    - MPW FAT
  114. 0.35M    - CodeWarrior 68k
  115. 1.2M    - CodeWarrior PPC Native
  116. 1.9M    - ThinkC 7 68K
  117. 7.4M    - Symantec8 FAT
  118.  
  119. 0.8M    - source
  120.  
  121. These figures are for fully build projects with all obj, pef, xcoff and
  122. other work files in place.
  123.  
  124. (Symantec 8 projects which use ToolServer & PPC Link/Make PEF are larger
  125. because (Toolserver??) duplicates all libraries in a work folder, hence 
  126. the large size).
  127.